package com.fenqile.pop.enums;

/**
 * 售后单状态
 * 
 * @author Coby [cobylin@live.com] 2017
 */
public enum AfterSaleStatus implements IntValueEnum<AfterSaleStatus>  {
	
	/**
	 * 10
	 * 待审核
	 */
	WAITING_FOR_AUDIT(10, "待审核"),
	
	/**
	 * 20
	 * 审核不通过
	 */
	AUDIT_NOT_THROUGH(20, "审核不通过"),
	
	/**
	 * 30
	 * 待买家发货
	 */
	WAITING_FOR_BUYER_DELIVER(30, "待买家发货"),
	
	/**
	 * 40
	 * 待验收
	 */
	WAITING_FOR_ACCEPT(40, "待验收"),
	
	/**
	 * 50
	 * 待原返
	 */
	WAITING_FOR_RETURN(50, "待原返"),
	
	/**
	 * 60
	 * 原返中
	 */
	RETURNING(60, "原返中"),
	
	/**
	 * 70
	 * 待配送
	 */
	WAITING_FOR_DELIVER(70, "待配送"),
	
	/**
	 * 80
	 * 配送中
	 */
	DELIVERING(80, "配送中"),
	
	/**
	 * 110
	 * 已完成
	 */
	FINISHED(110, "已完成"),
	
	/**
	 * 110
	 * 已完成
	 */
	CLOSED(120, "已关单"),
	
	/**
	 * 1000
	 * 已取消
	 */
	CANCELLED(1000, "已取消"),
	;

	private final int intValue;
	private final String name;
	
	private AfterSaleStatus(final int intValue, final String name) {
		this.intValue = intValue;
		this.name = name;
	}
	
	@Override
	public String getName() {
		return name;
	}

	@Override
	public int intValue() {
		return intValue;
	}

}
